use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'         => 'Spamcup-NG',
    'DISTNAME'     => 'spamcup-ng',
    'EXE_FILES'    => ["spamcup.pl"],
    'VERSION_FROM' => 'spamcup.pl',
    'AUTHOR' => 'Alceu Rodrigues de Freitas Junior (glasswalk3r@yahoo.com.br)',
    'ABSTRACT'       => 'Spamcup-NG automates Spamcop.net reporting',
    MIN_PERL_VERSION => 5.008009,
    PREREQ_PM        => {
        'YAML::Syck'     => 1.25,
        'LWP::UserAgent' => 6.05,
        'HTML::Form'     => 6.03,
        'HTTP::Cookies'  => 6.01,
        'Getopt::Std'    => 0,
        'File::Spec'     => 0
    },
    META_MERGE => {
        resources => {
            license    => 'http://www.gnu.org/licenses/gpl.txt',
            homepage   => 'http://code.google.com/p/spamcup-ng/',
            bugtracker => 'http://code.google.com/p/spamcup-ng/issues/list',
            repository => 'http://code.google.com/p/spamcup-ng/source/browse/'
        },
    },
    dist      => { SUFFIX => '.gz', COMPRESS => 'gzip --best' },
    NO_MYMETA => 1,
    ( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ( 'LICENSE' => 'gpl', ) : () )
);

